package com.dgut.finaldemo.service;

import com.dgut.finaldemo.entity.Student;
import com.dgut.finaldemo.vo.BarVO;
import com.dgut.finaldemo.vo.PieVO;
import com.dgut.finaldemo.vo.DataVO;

import java.util.List;

public interface StudentService {
    DataVO<Student> findData(Integer page, Integer limit);
    void addStudent(Student student);
    Student queryStudentById(Integer sid);
    void updateStudent(Student student);
    void deleteStudentById(Integer sid);
    DataVO<Student> searchStudent(Integer page, Integer limit,Student student);
    List<PieVO> getPieClock();
    BarVO getBarVO();
    Student queryStudentByUsername(String username);
}
